package io.genezhao.mybatisplus.mvc.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import io.genezhao.mybatisplus.mvc.entity.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.genezhao.mybatisplus.mvc.vo.UserVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author genezhao
 * @since 2018-06-12
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 分页查询用户列表
     * @param pagination
     * @param vo
     * @return
     */
    List<User> selectUserList(Pagination pagination, UserVo vo);
}
